.search {
  height: calc(100vh - env(safe-area-inset-bottom));
  overflow: hidden;

  .search-box {
    display: flex;
    justify-content: space-between;
    height: 65rpx;
    margin: 0 18rpx;

    .search-box-input {
      background-color: #f5f5f5;
      height: 100%;
      width: 600rpx;
      border-radius: 999rpx;
      box-sizing: border-box;
      padding-left: 30rpx;
      font-size: 28rpx;
    }


    .search-box-button {
      flex: 1;
      height: 100%;
      line-height: 65rpx;
      display: flex;
      justify-content: center;
      color: #1989fa;
    }
  }

  .search-history {
    margin: 0 18rpx;
    margin-top: 25rpx;

    .search-history-header {
      display: flex;
      justify-content: space-between;


      .search-history-header-title {
        color: #9d9d9d;
      }

      .search-history-header-button {
        height: 45rpx;
        width: 45rpx;
      }
    }

    .search-history-body {
      display: flex;
      flex-wrap: wrap;
      gap: 8rpx;
      margin-top: 20rpx;

      .search-history-body-item {
        background-color: #f2f2f2;
        padding: 8px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25rpx;
        white-space: nowrap;
      }
    }
  }

  .search-discovery {
    margin: 0 18rpx;
    margin-top: 20rpx;

    .search-discovery-header {
      color: #9d9d9d;
    }

    .search-discovery-body {
      display: flex;
      flex-wrap: wrap;
      gap: 8rpx;
      margin-top: 20rpx;

      .search-discover-body-item {
        background-color: #f2f2f2;
        padding: 8px 12px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 25rpx;
        white-space: nowrap;
      }
    }
  }
}